package util;

import com.ba.pojo.Card;

import java.util.Comparator;

/*
card比较器
 */
public class CardComparator implements Comparator<Card> {
    @Override
    public int compare(Card o1, Card o2) {
        return o2.getT_size() - o1.getT_size();
    }
}
